package com.fujitsu.cn.fnst.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.fujitsu.cn.fnst.base.BaseDao;
import com.fujitsu.cn.fnst.entiy.OperateLog;

@Repository
public class LogDao extends BaseDao<OperateLog> {
    public List<OperateLog> getAllLogsByWhereAndOrder(String where, String order) {
        return query4Page(OperateLog.class, order, where, true, 0, 50);
    }
}
